package com.stanyung.realtimeserver.codec;

import java.nio.charset.Charset;

public class ChatProtocolConstants {

	public static final Charset DEFAULT_CHARSET = Charset.forName("UTF-8");

	public static final int OK = 1;
	public static final int NEED_DATA = 2;
	public static final int NOT_OK = 3;

	public static final int LEN_LENGTH = 4;
	public static final int CMD_LENGTH = 4;
	public static final int SEQ_LENGTH = 4;
	public static final int PACKET_HEAD_LENGTH = CMD_LENGTH + SEQ_LENGTH;

}
